package guda.stark.dal.dao;

import guda.stark.dal.dataobject.BuildingDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface BuildingDAO {


    Long insert(BuildingDO building);


    BuildingDO getBuildingById(Long buildingId);


    boolean delBuildingById(Long buildingId);

    List<BuildingDO> getBuildingByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long buildingId);

    List<BuildingDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(BuildingDO building);

}
